{
    "name": "Product",
    "properties": {
        "id": {
            "type": "number",
            "description": "Product identifier",
            "required": true
        },
        "price": {
            "type": "number",
            "minimum": 0,
            "required": false
        },
        "tags": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "stock": {
			"id": 1,
			"name": "Foo",
			"price": 123,
			"tags": [ "Bar", "Eek" ],
			"stock": {
				"warehouse": 300,
				"retail": 20
			}
		}
    }
}